@charset "UTF-8";
@import url('displaFlex');





@safeWidth:1100px;        //安全宽度

@safeMainColor:#01cbe9;       //主题颜色
@safeMinorColor:#ff6f6e;       //主题颜色

@borderColor:#dcdcdc;     //边框颜色
@25mainWordColor:#252525;   //文字主体颜色
@4aviceWordColor:#4a4a4a;   //文字副级颜色
@99minorWordColor:#999999;  //文字次要颜色

@letwinW:420/1920;
@letwinH:420/500;

.w_h(@w_h){
  width: @w_h ;
  height: @w_h ;
}

//文字溢出
//多行
.wordSpaceClamp(@number){
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:@number;
  overflow: hidden;
}
//单行
.wordSpaceClamp{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.hover(@color){
  &:hover{
    background-color: @color;
    color: #FFFFFF;
    text-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
    transition: all 1s cubic-bezier(0, 0.72, 0.35, 1.12);
  }
}

.nav{
  width: @safeWidth;
  margin:20px auto;
  a{
    font-size: 16px;
    color: #4a4a4a;
  }
  :nth-child(1){
    padding-right: 15px;
    background: url("../publicImg/jiantou-you-hui@2x.png") no-repeat right;
    margin-right: 10px;
  }
}

main{
  width:920px;
  margin: 0 auto;
  .displayFlex;
  .flex-direction-column;
  textarea{
    width: 100%;
    min-height: 350px;
    border: 1px solid @borderColor;
    padding: 30px;
    font-size: 14px;
    color: @25mainWordColor;
    resize: none;
    margin-bottom:30px;
    border-radius: 6px;

  }

  label{
    .displayFlex;
    .flex-direction-column;
    input{
      margin-bottom:30px;
      width:200px;
      height: 38px;
      border: 1px solid @borderColor;
      text-indent: 20px;
      font-size: 16px;
      color:@25mainWordColor;
      border-radius: 4px;

    }
    button{
      width: 110px;
      height: 38px;
      color: @safeMinorColor;
      border: 1px solid @safeMinorColor;
      .hover(@safeMinorColor);
      font-size: 16px;
      background: white;
      border-radius: 4px;
    }

    margin-bottom: 50px;

  }



}

